package org.example.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.util.Date;

/**
 * @author shenguangyang
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@TableName("user_test")
public class UserPO {
    @TableId
    private Long id;
    private String name;
    private Integer isDeleted;
    private Date updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}